/*
 * WebcamFrameGrabber.h
 *
 *  Created on: Sep 6, 2013
 *      Author: clivemyrie
 */

#ifndef WEBCAMFRAMEGRABBER_H_
#define WEBCAMFRAMEGRABBER_H_

#include "FrameGrabber.h"

class WebcamFrameGrabber: public FrameGrabber {
public:
	WebcamFrameGrabber();
	virtual ~WebcamFrameGrabber();
	IplImage* grabFrame();

};

static CvCapture* capture = 0;

// Images to capture the frame from video or camera or from file
static IplImage *frame, *frame_copy = 0;

#endif /* WEBCAMFRAMEGRABBER_H_ */
